package com.zhaochao.validation.annotation;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import com.zhaochao.validation.helper.ConditionValidator;
import java.lang.annotation.*;


@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Constraint(validatedBy = ConditionValidator.class)
public @interface EnableCondition {
    @Deprecated
    String message() default "";
    @Deprecated
    Class<?>[] groups() default { };
    @Deprecated
    Class<? extends Payload>[] payload() default { };
}
